import request from '@/utils/request'
import BaseApi from '../BaseApi'

/**
 * 用户模块
 */
const apiRouter = '/FaSysMenuViewApi'
export default class FaSysMenuView extends BaseApi {
  constructor(gridId) {
    super(apiRouter, gridId)
  }

  /**
   * 获取菜单树
   * @returns
   */
  menuTree() {
    return request({
      url: `${apiRouter}/menuTree`,
      method: 'get'
    })
  }
}
